import React from 'react';
import { Tabs, Spin } from 'antd';
import { MoreBar } from '../common/TabBarExtraContent';

const { TabPane } = Tabs;
/**
 * 每日工作
 * 该模块带开发，暂不做
 */
const Mrgz = props => {
    const { responders } = props;
    const { onDelete, onAdd } = responders;
    // const [spinning, setSpinning] = useState(false);
    const spinning = false;
    // const [sourceData, setSourceData] = useState([]);
    return (
        <Spin spinning={spinning}>
            <Tabs
                defaultActiveKey="1"
                tabBarExtraContent={<MoreBar linkProps={{ to: '', query: {} }} onDelete={onDelete} onAdd={onAdd} />}
            >
                <TabPane tab="每日工作" key="1">
                    <h3>33333</h3>
                </TabPane>
            </Tabs>
        </Spin>
    );
};
export default Mrgz;
